home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
akitdemo.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
576b
|
23 lines
#include "blkmenu.h"
#include "appkit.h"
/* This example create 3 menus, first of them could call any other.
One of menus could be removed not only from screen, but also from system
with ALT_F3 command.
*/
enum { AC_MENU1 = 101, AC_MENU2, AC_MENU3 };
class Demo : public ApplicationKit
{
protected:
Window* w;
BlockMenu* m1;
BlockMenu* m2;
BlockMenu* m3;
public:
Demo(int num);
virtual void show();
virtual int application(int n);
virtual int active() { return w->active(); }
};